<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>提示</title>
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/>
</head>

<body>
  <h2 id="tips">提示</h2>

  <p>Here are some useful suggestions for checking that your EPUB is complete:</p>
  <p>以下是一些有用的建议，可用于检查 EPUB 是否完整：</p>

  <ul>
    <li>Use the Metadata Editor button <img alt="metadata-editor_22px" src="../Images/metadata-editor_22px.png"/> to set your Title, Author, and Language. And if you want, also set the Copyright, Publication Date, Subject, Description, and ISBN if there is one.</li>
    <li>使用元数据编辑器按钮 <img alt="metadata-editor_22px" src="../Images/metadata-editor_22px.png"/> 设置标题，作者和语言。如果需要，还可以设置版权，出版日期，主题，说明和 ISBN。</li>

    <li>Create an HTML file for your cover, and set the file and your cover image as type Cover.</li>
    <li>为封面创建一个 HTML 文件，并将文件和封面图像设置为 Cover。</li>

    <li>Right-click on your first text file and select <span class="menuitem">Add Semantics→Text</span> to tell ereaders that this is where the book should open to.</li>
    <li>右键单击您的第一个文本文件，然后选择 <span class="menuitem">添加语义→文本</span>告诉电子书阅读器这是打开书本的位置。</li>

    <li>Use the Generate TOC button <img alt="generate-toc_22px" src="../Images/generate-toc_22px.png"/> if you generated your TOC, and re-create your HTML TOC if there is one, to make sure you have the latest updates.</li>
    <li>如果生成了目录，请使用“生成目录”按钮 <img alt="generate-toc_22px" src="../Images/generate-toc_22px.png"/> 并重新创建 HTML 目录（如果有） 确保您具有最新更新。</li>

    <li>Test your TOC links work as expected.</li>
    <li>测试您的 TOC 链接是否按预期工作。</li>

    <li>Test your links, footnotes or endnotes work as expected.</li>
    <li>测试链接，脚注或尾注是否按预期工作。</li>

    <li>Check your spelling with the Spellcheck button <img alt="document-spellcheck_22px" src="../Images/document-spellcheck_22px.png"/>, and consider creating a separate dictionary for your book if it has lots of unique words.</li>
    <li>使用“拼写检查”按钮 <img alt="document-spellcheck_22px" src="../Images/document-spellcheck_22px.png"/> 检查拼写，如果书中有很多独特的单词，请考虑为它创建单独的词典。</li>

    <li>Click on the Validate button <img alt="document-validate_22px" src="../Images/document-validate_22px.png"/>to find EPUB errors then fix them – see <a href="../Text/validation.html">Validation</a> for typical error messages and what to do about them.</li>
    <li>单击“验证”按钮 <img alt="document-validate_22px" src="../Images/document-validate_22px.png"/> 来查找 EPUB 错误，然后修复它们——请参见 <a href="../Text/validation.html">验证</a> 以获取典型错误消息以及如何处理这些错误消息。</li>

    <li>Check your stylesheets are valid using <span class="menuitem">Tools→Validate Stylesheets with W3C</span>.</li>
    <li>使用 <span class="menuitem">工具→使用 W3C 验证样式表</span>，检查样式表是否有效。</li>

    <li>Link your stylesheets to all files that need them.</li>
    <li>将样式表链接到需要它们的所有文件。</li>

    <li>Remove unused images, audio, or video files or unused style classes using <span class="menuitem">Tools→Delete Unused</span>…</li>
    <li>使用 <span class="menuitem">工具→删除未使用的……</span> 来删除未使用的图像，音频或视频文件或未使用的样式类。</li>

    <li>Run <span class="menuitem">Tools→Reports</span> and look at the reports for anything unexpected (extra files, broken links, classes used but not defined, etc.).</li>
    <li>运行 <span class="menuitem">工具→报告</span>，查看报告中是否存在任何意外情况（额外的文件，断开的链接，使用但未定义的类等）。</li>

    <li>If you are using CSS files for your styles, search for, <span class="example">&lt;style&gt;</span> tags used in inline CSS, or <span class="example">style=</span> attributes used by inline styling and convert them to CSS stylesheet files.</li>
    <li>如果您使用 CSS 文件作为样式，请搜索内联 CSS 中使用的 <span class="example">&lt;style&gt;</span> 标签，或内联中使用的 <span class="example">style=</span> 属性样式并将其转换为 CSS 样式表文件。</li>

    <li>If you are really keen, search for and replace code like <span class="example">&amp;nbsp;</span>, <span class="example">&lt;br /&gt;</span>, empty paragraphs <span class="example">&lt;p&gt;&amp;nbsp;&lt;/p&gt;</span>, empty <span class="example">&lt;div&gt;&lt;/div&gt;</span> tags, empty attributes like <span class="example">src=""</span>,<span class="example"> href=""</span>, or <span class="example">=""</span>, change - to <span class="example">&amp;ndash;</span>, change ' to ’, etc. – unless of course you want to keep them.</li>
    <li>如果您真的很热衷，请搜索并替换 <span class="example">&amp;nbsp;</span>，<span class="example">&lt;br /&gt;</span>，空段 <span class="example">&lt;p&gt;&amp;nbsp;&lt;/p&gt;</span>，空的 <span class="example">&lt;div&gt;&lt;/div&gt;</span> 标签，空的属性例如 <span class="example">src=""</span>，<span class="example">href=""</span>，或 <span class="example">=""</span>，将 - 更改为 <span class="example">&amp;ndash;</span>，将 ' 更改为 ’，依此类推——当然，除非您想要保留它们。</li>

    <li>Proofread on actual ereaders. Sigil can only give an approximation of what your book will look like. Despite EPUB being a standard, there are a lot of ereader devices and software and they all have their own quirks and bugs.</li>
    <li>在实际电子书阅读器上进行校对。Sigil 只能大致估算出您的书本。尽管 EPUB 是一个标准，但仍有许多电子阅读器设备和软件，它们都有自己的怪癖和错误。</li>
  </ul>

  <div class="tip">
    <p class="tiptext">And in case you missed it – test your book on actual devices and ereader software!</p>
    <p class="tiptext">如果您错过了它，请在实际的设备和电子阅读器软件上测试您的书！</p>
  </div>
</body>
</html>